﻿// Serotonin -- easy-to-use image filters application
// https://code.google.com/p/serotonin/
//
// Copyright © Frank Nagl, 2012-2013
// admin@franknagl.de
//
namespace Serotonin.OptionsForms
{
    using System.Windows.Forms;

    /// <summary>Filter specified properties form.</summary>
    public partial class OriginalForm : Form, IOptionsForm
    {
        /// <summary>
        /// The processor for managing the images and the image GUI panel.
        /// </summary>
        public Processor Processor { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="OriginalForm"/> class.
        /// </summary>
        /// <param name="processor">The processor.</param>
        public OriginalForm(Processor processor)
        {
            InitializeComponent();
            Processor = processor;
            AOF.Init(processor, this, new GroupBox(), null);
        }

        /// <summary> Applies the specified filter in the options form. </summary>
        public void ApplyFilter() {  }

        /// <summary>
        /// Sets the language specified string texts for the form elements.
        /// </summary>
        public void SetStrings()
        {
            Options.Text = Program.L.Text[57];
            NoOptionsLabel.Text = Program.L.Text[68];
        }
    }
}
